package com.x.gzcrm.service;



import com.x.gzcrm.model.Permission;

import java.util.List;

/**
 * 课程分类的service
 */
public interface IPermissionService {
    public List<Permission> findAllMenus();

    public List<Permission> findAllPermission();

    //获取具有父功能的菜单、节点
    public List<Permission> findAllParentMenus();

    public void insert(Permission permission);

    public void deleteByPermissionId(Integer permisssionId);

    public Permission findPermissionById(Integer permisssionId);

    public void update(Permission permission);

    public List<Permission> findPermissionListByUserId(Integer userId);
//
//    public List<Permission> findPermissionListByUserId(Integer userId);
}
